import React, { Component } from 'react';
//引入一个list的组件
import { Scroller, Touchable, List, Carousel  } from '$yo-component';
import Header from '$component/header/index.js';
import Footer from '$component/footer/index.js'
import yoHistory from '$common/history';
import './index.scss';

class IndexShow extends Component {

    constructor() {
        super();
        this.state = {
            getData:[
                {key:1}
            ]
        };
    }
        
    render() {
        return (
                    <div className="yo-flex">
                        <div className="container" ref='refContainer'>
                            <div className="pojoro">&#9679;
                            <Touchable touchClass="m-content-active" onTap={() => {
                                setTimeout(()=>{
                                    yoHistory.push('/home');
                                },2000);
                            }}>
                                <p className="support">
                                    <em>Hover me!</em>
                                </p>
                                    
                            </Touchable>
                            </div>
                        </div>
                    </div>
        )
    }
}

export default IndexShow;
